/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm.dao;

import org.orm.*;
import orm.*;

public interface CandidatoDAO {
	public Candidato loadCandidatoByORMID(int id) throws PersistentException;
	public Candidato getCandidatoByORMID(int id) throws PersistentException;
	public Candidato loadCandidatoByORMID(int id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Candidato getCandidatoByORMID(int id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Candidato loadCandidatoByORMID(PersistentSession session, int id) throws PersistentException;
	public Candidato getCandidatoByORMID(PersistentSession session, int id) throws PersistentException;
	public Candidato loadCandidatoByORMID(PersistentSession session, int id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Candidato getCandidatoByORMID(PersistentSession session, int id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Candidato[] listCandidatoByQuery(String condition, String orderBy) throws PersistentException;
	public Candidato[] listCandidatoByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Candidato[] listCandidatoByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Candidato[] listCandidatoByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Candidato loadCandidatoByQuery(String condition, String orderBy) throws PersistentException;
	public Candidato loadCandidatoByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Candidato loadCandidatoByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Candidato loadCandidatoByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Candidato createCandidato();
	public boolean save(orm.Candidato candidato) throws PersistentException;
	public boolean delete(orm.Candidato candidato) throws PersistentException;
	public boolean refresh(orm.Candidato candidato) throws PersistentException;
	public boolean evict(orm.Candidato candidato) throws PersistentException;
	public Candidato loadCandidatoByCriteria(CandidatoCriteria candidatoCriteria);
	public Candidato[] listCandidatoByCriteria(CandidatoCriteria candidatoCriteria);
}
